﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using System.Data.Common;

namespace DAL
{
    public class HouseholdDAL : AbstractDAL<Household>
    {
        protected override Household GetModel(DbDataReader reader)
        {
            Household entity = new Household();
            entity.ID = (long)reader["ID"];
            entity.Address = (string)reader["Address"];
            entity.Type = (string)reader["Type"];
            return entity;
        }
    }
}
